<style>
.feature {
	padding: 30px 0;
}
</style>
<div class="panel panel-default" ng-controller="ConfigModuleCtrl">
	<div class="panel-heading">订票管理 / 模块配置</div>
	<div class="panel-body">
		<toaster-container
			toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
		<div class="tab-content"
			ng-init="stats={shift:false,refundRule:true, refund:false, order:false ,points:false,filter:false,ins:false,customer:false,ticket:false,days:false}">
			<ul class="nav nav-tabs">
				<li ng-class="{active:stats.refundRule}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=true;stats.refund=false;stats.order=false;stats.points=false;stats.filter=false;stats.ins=false;stats.customer=false;stats.ticket=false;stats.days=false">退票规则配置</a>
				</li>
				<!-- 				<li ng-class="{active:stats.refund}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=false;stats.refund=true;stats.order=false;stats.points=false;stats.filter=false;stats.ins=false;stats.customer=false">退票需知配置</a>
				</li> -->
				<li ng-class="{active:stats.order}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=false;stats.refund=false;stats.order=true;stats.points=false;stats.filter=false;stats.ins=false;stats.customer=false;stats.ticket=false;stats.days=false">订单需知配置</a>
				</li>
				<li ng-class="{active:stats.shift}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=true;stats.refundRule=false;stats.refund=false;stats.order=false;stats.points=false;stats.filter=false;stats.ins=false;stats.customer=false;stats.ticket=false;stats.days=false">定时配置</a>
				</li>

				<li ng-class="{active:stats.points}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=false;stats.refund=false;stats.order=false;stats.points=true;stats.filter=false;stats.ins=false;stats.customer=false;stats.ticket=false;stats.days=false">积分配置</a>
				</li>
				<li ng-class="{active:stats.filter}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=false;stats.refund=false;stats.order=false;stats.points=false;stats.filter=true;stats.ins=false;stats.customer=false;stats.ticket=false;stats.days=false">班次筛选时段配置</a>
				</li>
				<li ng-class="{active:stats.ins}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=false;stats.refund=false;stats.order=false;stats.points=false;stats.filter=false;stats.ins=true;stats.customer=false;stats.ticket=false;stats.days=false">保险说明配置</a>
				</li>
				<li ng-class="{active:stats.customer}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=false;stats.refund=false;stats.order=false;stats.points=false;stats.filter=false;stats.ins=false;stats.customer=true;stats.ticket=false;stats.days=false">公共乘车协议配置</a>
				</li>
				<li ng-class="{active:stats.ticket}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=false;stats.refund=false;stats.order=false;stats.points=false;stats.filter=false;stats.ins=false;stats.customer=false;stats.ticket=true;stats.days=false">票号配置</a>
				</li>
				<li ng-class="{active:stats.days}"><a href role="tab"
					data-toggle="tab"
					ng-click="stats.shift=false;stats.refundRule=false;stats.refund=false;stats.order=false;stats.points=false;stats.filter=false;stats.ins=false;stats.customer=false;stats.ticket=false;stats.days=true">预售天数配置</a>
				</li>				
			</ul>

			<div class="tab-pane active" id="tab-refundRule"
				ng-show="stats.refundRule">
				<div class="row feature">
					<div class="col-md-12">
						<form name="orderSaleForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(refundRule)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<button type="button" class="btn btn-primary"
										ng-click="reset(refundRule)" has-authority="BOOKING_MODULE_UPDATE">恢复默认设置</button>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">计算公式：</label>
								<div class="col-sm-4">
									<input type="text" class="form-control" placeholder="计算公式"
										ng-model="refundRule.value" required />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">计算公式格式规范：</label>
								<p class="col-sm-7" style="margin-top: 5px">表达式中金额单位是元，符号必须使用半角英文。</p>
								<label class="col-sm-3 control-label"></label>
								<p class="col-sm-7" style="margin-top: 5px">departLeft>退票时限（分钟）?
									[未达到退票时限手续费百分比, 不足部分补齐金额]:[退票时限内手续费百分比,不足部分补齐金额]</p>
							</div>
						</form>
					</div>
				</div>
			</div>
			<!-- 退票规则end -->

			<div class="tab-pane active" id="tab-protocol" ng-show="stats.customer">
				<div class="row feature">
					<div class="col-md-12">
						<form name="orderRefundForm"
							class="form-horizontal form-validation" role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(customer)" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<!-- <button type="button" class="btn btn-primary" ng-click="reset(refund)">恢复默认设置</button> -->
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 乘车协议： </label>
								<div class="col-md-9">
									<textarea class="form-control" rows="20" ng-minlength="15"
										ng-maxlength="2000" ng-model="customer.value"
										style="resize: none" required></textarea>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<!-- 乘车协议end -->

			<!--
			<div class="tab-pane active" id="tab-refund" ng-show="stats.refund">
				<div class="row feature">
					<div class="col-md-12">
						<form name="orderRefundForm"
							class="form-horizontal form-validation" role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(refund)" ng-disabled="mailForm.$invalid">保存修改</button>
									<button type="button" class="btn btn-primary" ng-click="reset(refund)">恢复默认设置</button>
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 退票需知： </label>
								<div class="col-md-4">
									<textarea class="form-control" rows="5" ng-minlength="3"
										ng-maxlength="1000" ng-model="refund.value"
										style="resize: none" required></textarea>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			退票需知end -->


			<div class="tab-pane active" id="tab-order" ng-show="stats.order">
				<div class="row feature">
					<div class="col-md-12">
						<form name="orderInfoForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(order)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<!-- 	<button type="button" class="btn btn-primary" ng-click="reset(order)">恢复默认设置</button> -->
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 订单需知： </label>
								<div class="col-md-9">
									<textarea class="form-control" rows="20" ng-minlength="15"
										ng-maxlength="5000" ng-model="order.value"
										style="resize: none" required></textarea>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<!-- 订单需知end -->

			<div class="tab-pane active" id="tab-shift" ng-show="stats.shift">
<!-- 				<div class="row feature">
					<div class="col-md-12">
						<form name="shiftForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(shift)" ng-disabled="mailForm.$invalid">保存修改</button>
									<button type="button" class="btn btn-primary"
										ng-click="reset(shift)">恢复默认设置</button>
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> {{shift.key}}： </label>
								<div class="col-md-4" style="margin-top: 7px">{{shift.description}}</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> {{shift.description}}： </label>
								<div class="col-md-4">
									<input type="text" ng-model="shift.value" class="form-control"
										ng-maxlength="3" ng-pattern="/^[0-9]*$/" required>
								</div>
								<label style="margin-top: 6px">分钟</label>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 默认值： </label>
								<div class="col-md-4">
									<input type="text" ng-model="shift.defaultValue"
										readonly="readonly" class="form-control">
								</div>
								<label style="margin-top: 6px">分钟</label>
							</div>
						</form>
					</div>
				</div> -->
				<!-- 班次定时end -->
				<div class="row feature">
					<div class="col-md-12">
						<form name="refundForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(timer)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<button type="button" class="btn btn-primary"
										ng-click="reset(timer)" has-authority="BOOKING_MODULE_UPDATE">恢复默认设置</button>
								</div>
 							</div>
<!-- 							<div class="form-group">
								<label class="col-md-2 control-label"> {{timer.key}}： </label>
								<div class="col-md-4" style="margin-top: 7px">{{timer.description}}</div>
							</div>  -->
							<div class="form-group">
								<label class="col-md-2 control-label"> {{timer.description}}： </label>
								<div class="col-md-4">
									<input type="text" ng-model="timer.value" class="form-control"
										ng-maxlength="3" ng-pattern="/^[0-9]*$/" required>
								</div>
								<label style="margin-top: 6px">分钟</label>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 默认值： </label>
								<div class="col-md-4">
									<input type="text" ng-model="timer.defaultValue"
										readonly="readonly" class="form-control">
								</div>
								<label style="margin-top: 6px">分钟</label>
							</div>
						</form>
					</div>
				</div>
				<!-- 退票时间end -->

				<div class="row feature">
					<div class="col-md-12">
						<form name="refundForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(depart)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<button type="button" class="btn btn-primary"
										ng-click="reset(depart)" has-authority="BOOKING_MODULE_UPDATE">恢复默认设置</button>
								</div>
							</div>
<!-- 							<div class="form-group">
								<label class="col-md-2 control-label"> {{depart.key}}： </label>
								<div class="col-md-4" style="margin-top: 7px">{{depart.description}}</div>
							</div> -->
							<div class="form-group">
								<label class="col-md-2 control-label"> {{depart.description}}： </label>
								<div class="col-md-4">
									<input type="text" ng-model="depart.value" class="form-control"
										ng-maxlength="3" ng-pattern="/^[0-9]*$/" required>
								</div>
								<label style="margin-top: 6px">分钟</label>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 默认值： </label>
								<div class="col-md-4">
									<input type="text" ng-model="depart.defaultValue"
										readonly="readonly" class="form-control">
								</div>
								<label style="margin-top: 6px">分钟</label>
							</div>
						</form>
					</div>
				</div>
				<!-- 发车前关闭售票时间end -->

<!-- 				<div class="row feature">
					<div class="col-md-12">
						<form name="temForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(teminal)" ng-disabled="mailForm.$invalid">保存修改</button>
									<button type="button" class="btn btn-primary"
										ng-click="reset(teminal)">恢复默认设置</button>
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> {{teminal.key}}：
								</label>
								<div class="col-md-4" style="margin-top: 7px">{{teminal.description}}</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label">{{teminal.description}}： </label>
								<div class="col-md-4">
									<input type="text" ng-model="teminal.value"
										class="form-control" ng-maxlength="3" ng-pattern="/^[0-9]*$/"
										required>
								</div>
								<label style="margin-top: 6px">分钟</label>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 默认值： </label>
								<div class="col-md-4">
									<input type="text" ng-model="teminal.defaultValue"
										readonly="readonly" class="form-control">
								</div>
								<label style="margin-top: 6px">分钟</label>
							</div>
						</form>
					</div>
				</div> -->
				<!-- 终点定时end -->
			</div>


			<div class="tab-pane active" id="tab-points" ng-show="stats.points">
				<div class="row feature">
					<div class="col-md-12">
						<form name="pointForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(points)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<button type="button" class="btn btn-primary"
										ng-click="reset(points)" has-authority="BOOKING_MODULE_UPDATE">恢复默认设置</button>
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 当前积分比率： </label>
								<div class="col-md-4">
									<input type="text" ng-model="points.value" class="form-control"
										ng-pattern="/^\d+(\.\d+)?$/" ng-maxlength="3" required>
								</div>
								<label style="margin-top: 6px">%</label>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 默认值： </label>
								<div class="col-md-4">
									<input type="text" ng-model="points.defaultValue"
										readonly="readonly" class="form-control">
								</div>
								<label style="margin-top: 6px">%</label>
							</div>
						</form>
					</div>
				</div>
			</div>
			<!-- 积分配置end -->

			<div class="tab-pane active" id="tab-teminal" ng-show="stats.filter">
				<div class="row feature">
					<div class="col-md-12">
						<form name="fileForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="fg(total)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<button type="button" class="btn btn-primary" ng-click="re()" has-authority="BOOKING_MODULE_UPDATE">恢复默认设置</button>
								</div>
							</div>
							<div class="form-group" ng-repeat="t in total">
								<label class="col-md-2 control-label"> 开始时间： </label>
								<div class="col-md-2">
									<input type="text" ng-model="t[0]" class="form-control"
										ng-pattern="/^(0\d{1}|1\d{1}|2[0-3]):[0-5]\d{1}$/" required>
								</div>
								<label class="col-md-2 control-label"> 结束时间： </label>
								<div class="col-md-2">
									<input type="text" ng-model="t[1]" class="form-control"
										ng-pattern="/^(0\d{1}|1\d{1}|2[0-3]):[0-5]\d{1}$/" required>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<!-- 班次筛选时段end -->
			<div class="tab-pane active" id="tab-shiftFilter" ng-show="stats.ins">
				<div class="row feature">
					<div class="col-md-12">
						<form name="insForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(ins)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<!-- <button type="button" class="btn btn-primary" ng-click="reset(refund)">恢复默认设置</button> -->
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 保险说明： </label>
								<div class="col-md-9">
									<textarea class="form-control" rows="20" ng-minlength="15"
										ng-maxlength="1000" ng-model="ins.value" style="resize: none"
										required></textarea>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<!-- 保险说明end -->

			<div class="tab-pane active" id="tab-points" ng-show="stats.ticket">
				<div class="row feature">
					<div class="col-md-12">
						<form name="refundForm" class="form-horizontal form-validation" role="form">
							<div class="form-group">
								<label class="col-md-2 control-label"> 当前电子客票号： </label>
								<div class="col-md-2">
									<input type="text" ng-model="ticketNow.value" class="form-control"
										ng-maxlength="12" ng-pattern="/^[0-9]*$/" required>
								</div>
								<div class="col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(ticketNow)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
								</div>
							</div>
						</form>
					</div>
					<div class="col-md-12">
						<form name="ticketOneForm" class="form-horizontal form-validation" role="form">
							<div class="form-group">
								<label class="col-md-2 control-label">主电子客票号段： </label>
								<div class="col-md-2">
									<input type="text" ng-model="ticketOne1"
										class="form-control" ng-maxlength="12" ng-minlength="12" ng-pattern="/^[0-9]*$/"
										  required>
								</div>
								<div style="float: left">～</div>
								<div class="col-md-2">
									<input type="text" ng-model="ticketOne2"
										class="form-control" ng-maxlength="12" ng-minlength="12" ng-pattern="/^[0-9]*$/"
										required>
								</div>
								<div class="col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="saveTicketOne(ticketOne1,ticketOne2)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
								</div>
							</div>
						</form>
					</div>
					<div class="col-md-12">
						<form name="ticketTwoForm" class="form-horizontal form-validation" role="form">
							<div class="form-group">
								<label class="col-md-2 control-label">备用电子客票号段： </label>
								<div class="col-md-2">
									<input type="text" ng-model="ticketTwo1"
										class="form-control" ng-maxlength="12" ng-pattern="/^[0-9]*$/"
										required>
								</div>
								<div style="float: left">～</div>
								<div class="col-md-2">
									<input type="text" ng-model="ticketTwo2"
										class="form-control" ng-maxlength="12" ng-pattern="/^[0-9]*$/"
										required>
								</div>
								<div class="col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="saveTicketTwo(ticketTwo1,ticketTwo2)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
								</div>
							</div>
						</form>
					</div>
				</div>

				<div class="row feature">
					<div class="col-md-12">
						<form name="insurNowForm" class="form-horizontal form-validation" role="form">
							<div class="form-group">
								<label class="col-md-2 control-label"> {{insurNow.description}}： </label>
								<div class="col-md-2">
									<input type="text" ng-model="insurNow.value" class="form-control"
										ng-maxlength="10" ng-pattern="/^[0-9]*$/" required>
								</div>
								<div class="col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(insurNow)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
								</div>
							</div>
						</form>
					</div>
					<div class="col-md-12">
						<form name="insurNo1Form" class="form-horizontal form-validation" role="form">
							<div class="form-group">
								<label class="col-md-2 control-label">主保险票号段： </label>
								<div class="col-md-2">
									<input type="text" ng-model="insurNo1Min"
										class="form-control" ng-maxlength="10" ng-minlength="1" ng-pattern="/^[0-9]*$/"
										required>
								</div>
								<div style="float: left">～</div>
								<div class="col-md-2">
									<input type="text" ng-model="insurNo1Max"
										class="form-control" ng-maxlength="10" ng-minlength="1" ng-pattern="/^[0-9]*$/"
										required>
								</div>
								<div class="col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="saveInsurOne(insurNo1Min,insurNo1Max)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
								</div>
							</div>
						</form>
					</div>
					<div class="col-md-12">
						<form name="insurNo2Form" class="form-horizontal form-validation" role="form">
							<div class="form-group">
								<label class="col-md-2 control-label">备用保险票号段： </label>
								<div class="col-md-2">
									<input type="text" ng-model="insurNo2Min" class="form-control"
										ng-maxlength="10" ng-pattern="/^[0-9]*$/" required>
								</div>
								<div style="float: left">～</div>
								<div class="col-md-2">
									<input type="text" ng-model="insurNo2Max" class="form-control"
										ng-maxlength="10" ng-pattern="/^[0-9]*$/" required>
								</div>
								<div class="col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="saveInsurTwo(insurNo2Min,insurNo2Max)"
										ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
								</div>
							</div>
						</form>
					</div>
				</div>
				<div class="row feature">
					<div class="col-md-12">
						<form name="refundForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<label class="col-md-2 control-label"> 号段余票过少通知手机号： </label>
								<div class="col-md-4">
									<input type="text" ng-model="contact.value" class="form-control"  required>
									<p style="margin-top: 12px">提示：支持多个手机号，使用英文状态下的逗号隔开。</p>
								</div>
								<div class="col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(contact)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
								</div>
							</div>
						</form>
					</div>
				</div>
 				<div class="row feature">
					<div class="col-md-12">
						<form name="temForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<label class="col-md-2 control-label">电子客票号段填写说明： </label>
								<div class="col-md-7" style="margin-top: 7px">
								  <p>此处填写为票号生成的区间，只可填写数字，并且为12位，左边的值不可大于右边的值。当前使用的票段超出范围后，会启用备用的票段。</p>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
				<!-- 终点定时end -->
				
			<div class="tab-pane active" id="tab-points" ng-show="stats.days">
				<div class="row feature">
					<div class="col-md-12">
						<form name="pointForm" class="form-horizontal form-validation"
							role="form">
							<div class="form-group">
								<div class="col-md-offset-2 col-md-4">
									<button type="button" class="btn btn-primary"
										ng-click="save(days)" ng-disabled="mailForm.$invalid" has-authority="BOOKING_MODULE_UPDATE">保存修改</button>
									<button type="button" class="btn btn-primary"
										ng-click="reset(days)" has-authority="BOOKING_MODULE_UPDATE">恢复默认设置</button>
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> {{days.description}}： </label>
								<div class="col-md-4">
									<input type="text" ng-model="days.value" class="form-control"
										ng-maxlength="3" ng-pattern="/^[0-9]*$/"  required>
								</div>
								<label style="margin-top: 6px">天</label>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label"> 默认值： </label>
								<div class="col-md-4">
									<input type="text" ng-model="days.defaultValue"
										readonly="readonly" class="form-control">
								</div>
								<label style="margin-top: 6px">天</label>
							</div>
						</form>
					</div>
				</div>
			</div>
			<!-- 预售天数end -->
							
		</div>
		<!-- tab-content -->
	</div>
	<!-- panel-body -->
</div>
<!-- panel -->


